package com.suian.spring.template.abstractTest;

public class Coffee extends BeverageTemplate{
    @Override
    void brew() {
        System.out.println("做咖啡");
    }

    @Override
    void addCondiments() {
        System.out.println("加糖与牛奶");
    }


    public static void main(String[] args) {
        Coffee coffee = new Coffee();
        coffee.prepareBeverage();
    }
}
